package org.example.base.websocket.service;

import org.example.base.websocket.model.ContactModel;

import java.util.List;
import java.util.Map;

/**
 * Description:
 * Date: 2024/1/20 01:31
 */
public interface WebSocketService {
    void readMessage(String currentUserId, String toConnectUserId);

    List<Map<String,Object>> getContactList(String currentUserId);

    List<Map<String, Object>> getRecentChatMsg(String currentUserId, String toConnectUserId);
}
